package com.shilin.watchsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shilin.watchsystem.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shilin.watchsystem.form.AddAdminForm;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2020-08-21
 */
public interface IAdminService extends IService<Admin> {

    void insert(AddAdminForm form);

    IPage<Admin> page(Page<Admin> page);

    void login(String account, String password, HttpServletRequest request);

}
